package com.cxy521.system.domain;

import com.cxy521.common.annotation.Excel;
import com.cxy521.common.core.domain.TreeEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 站点信息对象 cxy_sites
 * 
 * @author zzs
 * @date 2025-01-09
 */
@ApiModel(value = "CxySites", description = "站点信息对象 cxy_sites")
public class CxySites extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点ID，唯一标识站点 */
    @ApiModelProperty(value = "站点ID，唯一标识站点")
    private Long siteId;

    /** 站点名称 */
    @Excel(name = "站点名称")
    @ApiModelProperty(value = "站点名称")
    private String siteName;

    /** 父站点ID */
    @Excel(name = "父站点ID")
    @ApiModelProperty(value = "父站点ID")
    private Long parentSiteId;

    /** 站点链接 */
    @Excel(name = "站点链接")
    @ApiModelProperty(value = "站点链接")
    private String siteUrl;

    /** 站点图像地址 */
    @Excel(name = "站点图像地址")
    @ApiModelProperty(value = "站点图像地址")
    private String siteImageUrl;

    /** 站点描述 */
    @Excel(name = "站点描述")
    @ApiModelProperty(value = "站点描述")
    private String siteDescription;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    @ApiModelProperty(value = "显示顺序")
    private Integer displayOrder;

    /** 站点类型：C-分类，W-普通站点 */
    @Excel(name = "站点类型：C-分类，W-普通站点")
    @ApiModelProperty(value = "站点类型：C-分类，W-普通站点")
    private String siteType;

    /** 显示状态：0-显示，1-隐藏 */
    @Excel(name = "显示状态：0-显示，1-隐藏")
    @ApiModelProperty(value = "显示状态：0-显示，1-隐藏")
    private String displayStatus;

    /** 站点状态：0-正常，1-停用 */
    @Excel(name = "站点状态：0-正常，1-停用")
    @ApiModelProperty(value = "站点状态：0-正常，1-停用")
    private String siteStatus;

    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setSiteName(String siteName) 
    {
        this.siteName = siteName;
    }

    public String getSiteName() 
    {
        return siteName;
    }
    public void setParentSiteId(Long parentSiteId) 
    {
        this.parentSiteId = parentSiteId;
    }

    public Long getParentSiteId() 
    {
        return parentSiteId;
    }
    public void setSiteUrl(String siteUrl) 
    {
        this.siteUrl = siteUrl;
    }

    public String getSiteUrl() 
    {
        return siteUrl;
    }
    public void setSiteImageUrl(String siteImageUrl) 
    {
        this.siteImageUrl = siteImageUrl;
    }

    public String getSiteImageUrl() 
    {
        return siteImageUrl;
    }
    public void setSiteDescription(String siteDescription) 
    {
        this.siteDescription = siteDescription;
    }

    public String getSiteDescription() 
    {
        return siteDescription;
    }
    public void setDisplayOrder(Integer displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Integer getDisplayOrder() 
    {
        return displayOrder;
    }
    public void setSiteType(String siteType) 
    {
        this.siteType = siteType;
    }

    public String getSiteType() 
    {
        return siteType;
    }
    public void setDisplayStatus(String displayStatus) 
    {
        this.displayStatus = displayStatus;
    }

    public String getDisplayStatus() 
    {
        return displayStatus;
    }
    public void setSiteStatus(String siteStatus) 
    {
        this.siteStatus = siteStatus;
    }

    public String getSiteStatus() 
    {
        return siteStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("siteId", getSiteId())
            .append("siteName", getSiteName())
            .append("parentSiteId", getParentSiteId())
            .append("siteUrl", getSiteUrl())
            .append("siteImageUrl", getSiteImageUrl())
            .append("siteDescription", getSiteDescription())
            .append("displayOrder", getDisplayOrder())
            .append("siteType", getSiteType())
            .append("displayStatus", getDisplayStatus())
            .append("siteStatus", getSiteStatus())
            .toString();
    }
}
